package com.spring.cold.service;

import com.spring.cold.mapper.UserMapper;
import com.spring.cold.pojo.User;
import org.springframework.stereotype.Service;

/**
 * @author jy
 * @date 2020-10-10
 */
@Service
public class UserService extends BaseService<UserMapper, User> {

    public User selectByLoginName(String loginName){
        return mapper.selectByLoginName(loginName);
    }
}
